<template>
  <div>
    c2组件
    <input
      type="text"
      v-model='str'
    >
  </div>
</template>
<script>
// @ is an alias to /src
export default {
  name: "c2",
  data() {
    return {
      str: "",
    };
  },
  created() {
    console.log(this);
  },
  destroyed() {
    console.log("c2销毁了");
  },
};
</script>
<style lang="less">
</style>